<?php 
	namespace Home\Model;
	use Think\Model\RelationModel;

	class ArtsModel extends RelationModel{
		
		protected $_link = array(
			'comments'=>array(
			'mapping_type'=> self::HAS_MANY,
			'foreign_key'=>'aid',
			)
		);
	}












 ?>